const routers = [
    { path: '/', name: "后台登录页", component: () => import("@/components/after-web/Login") },
    {
        path: '/admin/home',
        component: () => import("@/components/after-web/Home"),
        name: "主页",
        children: [
            {
                path: '/admin/homePage',
                name: "后台首页",
                component: () => import("@/components/after-web/homePage"),
                meta: [
                    { name: '后台首页',url: '/homePage'},
                ]
            },
            {
                path: '/admin/memoList',
                name: "备忘录管理",
                component: () => import("@/components/after-web/memoList"),
                meta: [
                    { name: '备忘录管理',url: '/admin/memoList'},
                ]
            },
            {
                path: '/admin/curriculumList',
                name: "课程管理",
                component: () => import("@/components/after-web/curriculumList"),
                meta: [
                    { name: '课程管理',url: '/admin/curriculumList'},
                ]
            },

        ]
    }


]

export default routers
